.header{
    height: 58px;
    background: #191d3a;
}
.header .logo{
    margin-top: 11px;
    margin-right: 48px;
}
.header .nav ul li{
    float: left;
    width: 85px;
    text-align: center;
    height: 58px;
    line-height: 58px;
    border-left:1px solid #252947;
}
.header .nav ul li:last-child{
    border-right:1px solid #252947;
}
.header .nav ul li a{
    /* 把a标签转化为块级元素,撑满整个父元素 */
    display: block;
}

/* 找到.header里面.nav里面ul里面li里面的第一个a标签 */
/* .header .nav ul li a:first-child{
    background: red;
    color:white;
} */

/* 找到.header里面.nav里面ul里面第一个li里面的a标签 */
.header .nav ul li:first-child a{
    background: #252947;
    color:white;
}

.header .join_us{
    width: 100px;
    height: 34px;
    background: #38b774;
    text-align: center;
    line-height: 34px;
    color:white;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 12px;
    margin-left: 9px;
}
.header .language{
    /* 如果想看元素的位置,可以给这个元素设置背景颜色 或者边框线*/
    /* background: pink; */
    margin-top: 23px;
}
.header .language a:first-child{
    color:#38b774;
    margin-right: 14px;
}
.header .language a:hover{
    color:#38b774;
}

/* 轮播层样式开始 */
.banner{
    height: 460px;
    background:url(../images/banner.jpg) center top no-repeat #191d3a;
    position: relative;
}
.banner .container{
    position: relative;
}
.banner .inner_box{
    width: 453px;
    position: absolute;
    right: 0;
    top: 82px;
    /* border:1px solid red; */
}
.banner .inner_box .online_game{
    width: 115px;
    position: absolute;
    right: 0;
    cursor: pointer;
}
.banner .inner_box .online_game .top{
    width: 115px;
    height: 37px;
    background:url(../images/online.png);
    line-height: 37px;
    text-indent:16px;
}
.banner .inner_box .online_game:hover .top{
    background:url(../images/online.png) -120px 0;
}
.banner .inner_box .online_game:hover .bottom{
    /* 显示元素 */
    display:block;
}
.banner .inner_box .online_game .bottom{
    height: 38px;
    background: white;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    /* 隐藏元素 */
    display: none;
}
.banner .inner_box .online_game .bottom a{
    /* 浮动可以改变元素的显示方式,具有行内块特性,设置宽度高度,并且一行显示多个 */
    float: left;
    margin-right: 8px;
}
.banner .inner_box .online_game .bottom a:nth-child(1){
    background: url(images/online.png) no-repeat 0 bottom;
    width: 25px;
    height: 25px;
    margin-left: 12px;
}
.banner .inner_box .online_game .bottom a:nth-child(2){
    background: url(images/online.png) no-repeat -50px bottom;
    width: 25px;
    height: 25px;
}
.banner .inner_box .online_game .bottom a:nth-child(3){
    background: url(images/online.png) no-repeat -100px bottom;
    width: 25px;
    height: 25px;
}
.banner .inner_box .desc{
    margin-top: 85px;
}
.banner .inner_box h2{
    margin-top: 37px;
    margin-bottom: 16px;
    font-size:18px;
    background:url(../images/download.png) 7px 4px no-repeat;
    text-indent:36px;
}
.banner .inner_box .icons ul li{
    width: 83px;
    height: 86px;
    float: left;
    background: rgba(255,255,255,0.6);
    margin-right: 2px;
    text-align: center;
    padding-top: 20px;
    cursor: pointer;
    /* CSS3过渡属性 transition */
    transition: background-color 0.5s;
}
.banner .inner_box .icons ul li:hover{
    background: rgba(255,255,255,1);
}
.banner .inner_box .icons ul li:last-child{
    width: 111px;
    text-align: center;
    height: 93px;
    padding-top: 13px;
}
.banner .inner_box .icons ul li:last-child:hover{
    background: rgba(255,255,255,0.6);
}
.banner .inner_box .icons .icon{
    width: 42px;
    height: 41px;
    /* 把span标签转成行内块元素 */
    display: inline-block;
    background:url(../images/pad.png) no-repeat;
    margin-bottom: 10px;
}
.banner .inner_box .icons ul li:nth-child(1) .icon{
    background-position: 8px -199px;
}
.banner .inner_box .icons ul li:nth-child(2) .icon{
    background-position: 6px 0;
}
.banner .inner_box .icons ul li:nth-child(3) .icon{
    background-position: -4px -97px
}
.banner .inner_box .icons ul li:nth-child(4) .icon{
    background-position: 0 -499px
}
.banner .dot{
    width: 93px;
    position: absolute;
    left: 50%;
    margin-left: -46px;
    bottom: 20px;
}
.banner .dot ul li{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    float: left;
    margin-right: 15px;
}
.banner .dot ul li:last-child{
    margin-right: 0;
}
.banner .dot ul li:nth-child(3){
    background: white;
}
/* 轮播层样式结束 */


/* 宣传层样式开始 */
.publicity{
    margin-top: 50px;
    height: 250px;
}
.publicity ul li{
    width: 218px;
    margin-right: 43px;
    float: left;
    text-align: center;
    /* CSS3过渡属性 */
    transition: all 0.5s;
}
.publicity ul li:last-child{
    margin-right: 0;
    width: 217px;
}
.publicity ul li img{
    width: 100%;
}
.publicity ul li .content{
    height: 63px;
    line-height: 30px;
}
.publicity ul li .content .title{
    font-size:12px;
    color:#444866;
    font-weight: bold;
}
.publicity ul li .content .play{
    color:#38b774;
    font-size:12px;
    background:url(../images/arrow.png) no-repeat right center;
    display: inline;
    padding-right: 12px;
}
.publicity ul li:hover{
    /* opacity属性可以设置元素以及元素其内容的的透明度 */
    /* 取值0~1之间的数,包括0和1, 0代表完全透明, 1代表完全不透明 */
    opacity: 0.8;
}
/* 鼠标移上li以后, li里面的.content层对应的样式 */
.publicity ul li:hover .content{
    background: #38b774;
}
.publicity ul li:hover .content .title{
    color:white;
}
.publicity ul li:hover .content .play{
    color:white;
    background-image:url(../images/arrow_hover.png);
}
/* 宣传层样式结束 */

/* 线样式开始 */
.line{
    border-bottom: 1px solid #dbe1e7;
    text-align: center;
}
.line ul {
    display: inline-block;
    background: white;
    margin-bottom: -10px;
}
.line ul li{
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #b5c0cb;
    float: left;
    margin-right: 14px;
    cursor: pointer;
}
.line ul li:first-child{
    background: #38b774;
    margin-left: 17px;
}
/* 线样式结束 */

/* 主要内容层开始 */
.main{
    margin-top: 53px;
    height: 364px;
    background: url(../images/indexmainbg.jpg);
}
.main .boya_news{
    width: 500px;
    height: 310px;
    background: url(../images/bynewsbg.jpg);
    float: left;
    position: relative;
}
.main .shehuizhaop{
    width: 500px;
    height: 310px;
    background: url(../images/byshzpbg.jpg);
    float: left;
    position: relative;
    color:white;
}
.main .more{
    position: absolute;
    right: 216px;
    top: 40px;
    width: 64px;
    height: 26px;
    line-height: 20px;
    border:1px solid red;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s;
}
.main .boya_news .more{
    border-color:#30bc73;
    color:#30bc73;
}
.main .boya_news .more:hover{
    background: #30bc73;
    color:white;
}
.main .boya_news ul{
    margin-top: 121px;
    margin-right: 20px;
    margin-left: 20px;
}
.main .boya_news ul li{
    height: 49px;
    line-height: 49px;
    border-bottom: 1px solid #e1e2e6;
}
.main .boya_news ul li a{
    /* 浮动以后的元素具有行内块级特性,行内块级特性就是可以一行显示多个元素,并且可以设置宽度高度 */
    float: left;
    width: 400px;
    /* 让文字强制一行显示 */
    white-space: nowrap;
    /* 设置溢出隐藏 */
    overflow: hidden;
    /* 溢出部分使用省略号代替 */
    text-overflow: ellipsis;
    color:#444866;
}
.main .boya_news ul li a:hover{
    color:#33b972;
}
.main .boya_news ul li span{
    float: right;
    color:#afbed2;
}
.main .shehuizhaop .more{
    border-color:white;
    color:white;
}
.main .shehuizhaop .more:hover{
    background: white;
    color:#30bc73;
}
.main .shehuizhaop a{
    color:white;
}
.main .shehuizhaop h2{
    font-size: 24px;
    margin-left: 80px;
    margin-top: 37px;
    margin-bottom: 6px;
}
.main .shehuizhaop h3{
    font-size:12px;
    font-weight: normal;
    margin-left: 80px;
}
.main .shehuizhaop h4{
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 7px;
    font-size:14px;
}
.main .shehuizhaop ul{
    margin-left: 20px;
    width: 305px;
}
.main .shehuizhaop ul li{
    height: 37px;
    line-height: 37px;
    border-bottom: 1px solid #6fdea3;
}
/* 主要内容层结束 */

/* 底部样式开始 */
.footer{
    height: 171px;
    background: #191d3a;
    color:#6c6e7e;
    font-size:12px;
    padding-top: 21px;
}
.footer a{
    color:#6c6e7e;
}
.footer a:hover{
    color:#f7f8ff;
}
.footer p{
    height: 50px;
    line-height: 50px;
}
.footer img{
    height: 50px;
    vertical-align: middle;
}
/* 底部样式结束 */